package com.young.launch_task_init.core.log

import android.util.Log
import com.young.launch_task_init.BuildConfig

/**
 * Author：young
 * .
 * Time： 1/4/2023 下午12:11 周六
 * .
 * Desc：日志 TAG
 */
object SimpleLog : ILog {

    override fun isShowLog(): Boolean {
        return BuildConfig.DEBUG
    }

    override fun logE(tag: String, msg: String) {
        if (isShowLog()) {
            Log.e(tag, msg)
        }
    }

    override fun logD(tag: String, msg: String) {
        if (isShowLog()) {
            Log.d(tag, msg)
        }
    }

}